package cn.felord.common.mapper;

import cn.felord.common.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统用户表 Mapper 接口
 * </p>
 *
 * @author dax
 * @since 2018 -09-09
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    /**
     * Query user by login name sys user.
     *
     * @param userName the user name
     * @return the sys user
     */
    SysUser  queryUserByLoginName(@Param("userName") String userName);
}
